package com.ruoyi.help.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 help_vehicle
 * 
 * @author ruoyi
 * @date 2023-06-13
 */
public class HelpVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆装备id */
    @Excel(name = "车辆装备id")
    private Long uId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String uVehicleCode;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String uVehicleType;

    /** 型号 */
    @Excel(name = "型号")
    private String uModel;

    /** 购买日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uPurchaseDate;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String uStatus;

    /** 状态 */
    private String STATUS;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setuVehicleCode(String uVehicleCode) 
    {
        this.uVehicleCode = uVehicleCode;
    }

    public String getuVehicleCode() 
    {
        return uVehicleCode;
    }
    public void setuVehicleType(String uVehicleType) 
    {
        this.uVehicleType = uVehicleType;
    }

    public String getuVehicleType() 
    {
        return uVehicleType;
    }
    public void setuModel(String uModel) 
    {
        this.uModel = uModel;
    }

    public String getuModel() 
    {
        return uModel;
    }
    public void setuPurchaseDate(Date uPurchaseDate) 
    {
        this.uPurchaseDate = uPurchaseDate;
    }

    public Date getuPurchaseDate() 
    {
        return uPurchaseDate;
    }
    public void setuStatus(String uStatus) 
    {
        this.uStatus = uStatus;
    }

    public String getuStatus() 
    {
        return uStatus;
    }
    public void setSTATUS(String STATUS) 
    {
        this.STATUS = STATUS;
    }

    public String getSTATUS() 
    {
        return STATUS;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uId", getuId())
            .append("uVehicleCode", getuVehicleCode())
            .append("uVehicleType", getuVehicleType())
            .append("uModel", getuModel())
            .append("uPurchaseDate", getuPurchaseDate())
            .append("uStatus", getuStatus())
            .append("STATUS", getSTATUS())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
